<script>
import {hunhe1,hunhe2,hunhe3} from "../mixin"

export default {
  name: "Student",
  data(){
    return{name:'张三',age:29}
  },
 /* methods:{
    showName(){
      alert(this.name)
    }
  }*/
  mixins:[hunhe1,hunhe2,hunhe3]
}
</script>

<template>
  <div>
    <h1 @click="showName">学生姓名:{{name}}</h1>
    <h1>学生年龄:{{age}}</h1>
  </div>
</template>

<style scoped>

</style>
